package com.tedu.egmybatis2.mapper;

import com.tedu.egmybatis2.pojo.Customers;
import com.tedu.egmybatis2.pojo.CustomersVO1;
import com.tedu.egmybatis2.pojo.CustomersVO2;
import com.tedu.egmybatis2.pojo.OrderListVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CustomersMapper {
    int insertCustomers(Customers customers);

    CustomersVO1 selectCustomersById(String id);

    List<CustomersVO2> selectCustomersVO2ByCity(List<String>  list);

    OrderListVO selectCustomersOrdersByName(String name);
}
